<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:83:"C:\wamp64\www\fastadmin\public/../application/admin\view\staff\staffmange\edit.html";i:1503278045;s:76:"C:\wamp64\www\fastadmin\public/../application/admin\view\layout\default.html";i:1502146581;s:73:"C:\wamp64\www\fastadmin\public/../application/admin\view\common\meta.html";i:1502146572;s:75:"C:\wamp64\www\fastadmin\public/../application/admin\view\common\script.html";i:1502146572;}*/ ?>
<!DOCTYPE html>
<html lang="<?php echo $config['language']; ?>">
    <head>
        <meta charset="utf-8">
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">

<link rel="shortcut icon" href="__PUBLIC__/assets/img/favicon.ico" />
<!-- Loading Bootstrap -->
<link href="__PUBLIC__/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="__CDN__/assets/js/html5shiv.js"></script>
  <script src="__CDN__/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
    var require = {
        config:  <?php echo json_encode($config); ?>
    };
</script>

    </head>

    <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
        <div id="main" role="main">
            <div class="tab-content tab-addtabs">
                <div id="content">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            <section class="content-header hide">
                                <h1>
                                    <?php echo __('Dashboard'); ?>
                                    <small><?php echo __('Control panel'); ?></small>
                                </h1>
                            </section>
                            <?php if(!IS_DIALOG): ?>
                            <!-- RIBBON -->
                            <div id="ribbon">
                                <ol class="breadcrumb pull-left">
                                    <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
                                </ol>
                                <ol class="breadcrumb pull-right">
                                    <?php foreach($breadcrumb as $vo): ?>
                                    <li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
                                    <?php endforeach; ?>
                                </ol>
                            </div>
                            <!-- END RIBBON -->
                            <?php endif; ?>
                            <div class="content">
                                <form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="name" class="control-label col-xs-12 col-sm-2"><?php echo __('name'); ?>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="name" class="form-control" name="row[name]" type="text" value="<?php echo $row['name']; ?>" data-rule="required" >
        </div>
    </div>
    <div class="form-group">
        <label for="c-avatar" class="control-label col-xs-12 col-sm-2"><?php echo __('avatar'); ?>:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-inline">
                <input id="c-avatar" class="form-control" size="50" name="row[avatar]" type="text" value="<?php echo $row['avatar']; ?>" data-rule="required"><br>
                <span><button id="plupload-avatar" class="btn btn-danger plupload" data-mimetype="jpg" data-input-id="c-avatar" data-preview-id="p-avatar"><i class="fa fa-upload"></i> <?php echo __('Upload'); ?></button></span>
                <ul class="row list-inline plupload-preview" id="p-avatar"></ul>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="tag" class="control-label col-xs-12 col-sm-2"><?php echo __('tag'); ?>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="tag" class="form-control" name="row[tag]" type="text" value="<?php echo $row['tag']; ?>" data-rule="required" >
        </div>
    </div>
    <div class="form-group">
        <label for="createtime" class="control-label col-xs-12 col-sm-2"><?php echo __('createtime'); ?>:</label>
        <div class="col-xs-12 col-sm-4">
            <input type="text" class="form-control datetimepicker" id="createtime" name="row[createtime]" value="<?php echo $row['createtime']; ?>" data-date-format="YYYY-MM-DD" data-rule="<?php echo __('createtime'); ?>:required" size="6" />
        </div>
    </div>
    <div class="form-group">
        <label for="serverdays" class="control-label col-xs-12 col-sm-2"><?php echo __('serverdays'); ?>:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="serverdays" data-rule="required" class="form-control selectpicker" name="row[serverdays_id]">
                <option value="" selected="true" disabled="true">选择类型</option>
                <?php if(is_array($serverdaysList) || $serverdaysList instanceof \think\Collection || $serverdaysList instanceof \think\Paginator): if( count($serverdaysList)==0 ) : echo "" ;else: foreach($serverdaysList as $key=>$vo): ?>
                <option value="<?php echo $vo['id']; ?>" <?php if(in_array(($vo['id']), is_array($row['serverdays_id'])?$row['serverdays_id']:explode(',',$row['serverdays_id']))): ?>selected<?php endif; ?>><?php echo $vo['server_days']; ?>天</option>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="province" class="control-label col-xs-12 col-sm-2"><?php echo __('province'); ?>:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="province" data-rule="required" class="form-control selectpicker" name="row[province_id]">
                <option value="" selected="true" disabled="true">选择类型</option>
                <?php if(is_array($provincelist) || $provincelist instanceof \think\Collection || $provincelist instanceof \think\Paginator): if( count($provincelist)==0 ) : echo "" ;else: foreach($provincelist as $key=>$vo): ?>
                <option value="<?php echo $vo['id']; ?>" <?php if(in_array(($vo['id']), is_array($row['province_id'])?$row['province_id']:explode(',',$row['province_id']))): ?>selected<?php endif; ?> ><?php echo $vo['name']; ?></option>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </select>
        </div>
    </div>

    <div class="form-group">
        <label for="c-grade" class="control-label col-xs-12 col-sm-2"><?php echo __('grade'); ?>:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="c-grade" data-rule="required" class="form-control selectpicker" name="row[grade_id]">
                <option value="" selected="true" disabled="true">选择类型</option>
                <?php if(is_array($gradeList) || $gradeList instanceof \think\Collection || $gradeList instanceof \think\Paginator): if( count($gradeList)==0 ) : echo "" ;else: foreach($gradeList as $key=>$vo): ?>
                <option value="<?php echo $vo['id']; ?>" <?php if(in_array(($vo['id']), is_array($row['grade_id'])?$row['grade_id']:explode(',',$row['grade_id']))): ?>selected<?php endif; ?>><?php echo $vo['name']; ?></option>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="c-grade_info" class="control-label col-xs-12 col-sm-2"><?php echo __('grade_info'); ?>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-grade_info" class="form-control" name="row[grade_info]" type="text" value="<?php echo $row['grade_info']; ?>">
        </div>
    </div>
    <div class="form-group">
        <label for="c-expert_comment" class="control-label col-xs-12 col-sm-2"><?php echo __('expert_comment'); ?>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-expert_comment" class="form-control" name="row[expert_comment]" type="text" value="<?php echo $row['expert_comment']; ?>">
        </div>
    </div>
    <div class="form-group">
        <label for="c-birthday" class="control-label col-xs-12 col-sm-2"><?php echo __('birthday'); ?>:</label>
        <div class="col-xs-12 col-sm-4">
            <input type="text" class="form-control datetimepicker" id="c-birthday" name="row[birthday]" value="<?php echo $row['birthday']; ?>" data-date-format="YYYY-MM-DD" data-rule="<?php echo __('birthday'); ?>:required" size="6" />
        </div>
    </div>
    <div class="form-group">
        <label for="c-telphone" class="control-label col-xs-12 col-sm-2"><?php echo __('telphone'); ?>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-telphone" class="form-control" name="row[telphone]" type="text" value="<?php echo $row['telphone']; ?>">
        </div>
    </div>
    <div class="form-group">
        <label for="c-address" class="control-label col-xs-12 col-sm-2"><?php echo __('address'); ?>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address" class="form-control" name="row[address]" type="text" value="<?php echo $row['address']; ?>">
        </div>
    </div>
    <div class="form-group">
        <label for="c-resume" class="control-label col-xs-12 col-sm-2"><?php echo __('resume'); ?>:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-inline">
                <input id="c-resume" class="form-control" size="50" name="row[resume]" type="text" value="<?php echo $row['resume']; ?>" data-rule="required"><br>
                <span><button id="plupload-resume" class="btn btn-danger plupload" data-mimetype="pdf" data-input-id="c-resume" data-preview-id="p-resume"><i class="fa fa-upload"></i> <?php echo __('Upload'); ?></button></span>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="c-online" class="control-label col-xs-12 col-sm-2"><?php echo __('online'); ?>:</label>
        <div class="col-xs-12 col-sm-8">
            <?php echo build_radios('row[online]', ['normal'=>__('isonline'), 'hidden'=>__('noonline')],$row['online']); ?>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled"><?php echo __('OK'); ?></button>
            <button type="reset" class="btn btn-default btn-embossed"><?php echo __('Reset'); ?></button>
        </div>
    </div>
</form>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="__PUBLIC__/assets/js/require.js" data-main="__PUBLIC__/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo $site['version']; ?>"></script>


   

    </body>
</html>